# PyJuggler is (C) Copyright 2002-2012 by Patrick Hartling
# Distributed under the GNU Lesser General Public License 2.1.  (See
# accompanying file COPYING.txt or http://www.gnu.org/copyleft/lesser.txt)

srcdir=		@srcdir@

VJ_LIBS=	$(shell flagpoll vrjuggler --get-vrj-ogl-libs)		\
		$(shell flagpoll vrjuggler --get-all-libs)
VJ_EXTRA_LIBS=	$(shell flagpoll vrjuggler --get-all-extra-libs)
OSG_EXTRA_LIBS=	@OT_LDFLAGS@ @PRODUCER_LDFLAGS@ @OSG_LDFLAGS@ @OSG_LIBS@

EXTRA_CXXFLAGS=	$(shell flagpoll vrjuggler --cflags)
EXTRA_INCLUDES=	@OSG_INCLUDES@
EXTRA_LDFLAGS=	$(PYJUTIL_LIB) $(VJ_LIBS) $(VJ_EXTRA_LIBS) $(OSG_EXTRA_LIBS)
MOD_NAME=	osg
MOD_SUBDIR=	vrj

SRCS= \
	_App.cpp	\
	osg.cpp

include ../common-targets.mk
